package com.avic.modules.record.service.mapper;

import com.avic.common.mapper.CoreMapper;
import com.avic.modules.record.domain.ContinuousOptimize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author zhangzikang
 * @date 2022-08-14
 */
@Repository
@Mapper
public interface ContinuousOptimizeMapper extends CoreMapper<ContinuousOptimize> {

    @Select("select num,operate_1 as operate1," +
            " operate_2 as operate2," +
            " operate_3 as operate3," +
            " operate_4 as operate4," +
            " optimized_value_1 as optimizedValue1," +
            " optimized_value_2 as optimizedValue2 from" +
            " continuous_optimize where num = 4")
    ContinuousOptimize queryContinuousOptimize();
}
